import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
// material
import {DemoMaterialModule} from './material-module';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { IndexComponent } from './index/index.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
import { ListComponent } from './list/list.component';
import { MapComponent } from './map/map.component';
import { PatrioticComponent, PatrioticDialog } from './patriotic/patriotic.component';
import { TravelComponent } from './travel/travel.component';
import { TravelDetailComponent } from './travel-detail/travel-detail.component';

@NgModule({
  declarations: [
    AppComponent,
    IndexComponent,
    PageNotFoundComponent,
    ListComponent,
    MapComponent,
    PatrioticComponent,
    PatrioticDialog,
    TravelComponent,
    TravelDetailComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    // material
    DemoMaterialModule,
  ],
  providers: [],
  bootstrap: [AppComponent],
  entryComponents: [PatrioticDialog]
})
export class AppModule { }
